package com.kai.steering.common.web.dto;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ Author     ：LiuKai.
 * @ Date       ：Created in 10:57 2022-2-22
 * @ Description：查询参数
 * @ Modified By：
 * @Version:
 */
@Data
@ApiModel("查询参数对象")
public class QueryParam implements Serializable {
    private static final long serialVersionUID = -3263921252635611410L;

    @ApiModelProperty(value = "排序")
    private List<OrderItem> orders;

    @ApiModelProperty(value = "页码,默认为1", example = "1")
    private Integer pageNo = 1;

    @ApiModelProperty(value = "页大小,默认为10", example = "10")
    private Integer pageSize = 10;


}
